home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3trmnrb.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_TRIMNURBS_H = 1;
- include("real/objects/r3nurbs.js")
-
-
- var R3CLID_TRIMNURBS = 215;
-
-
-
-
- // Description: Evaluate trim curve
-
- R3TMNUM_EVALUATEABS = 215001;
-
- function mR3TMNUM_EVALUATEABS() {
- DoA(this.r3obj, 215001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Fetch the mesh the trim curve is associated with
- // Returns: Object, address of the mesh object
-
- R3TMNUM_TRIMMEDPARENT = 215002;
-
- function mR3TMNUM_TRIMMEDPARENT() {
- return R3ToJS( DoA(this.r3obj, 215002, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Create a regular nurbs curve from the trim
- // Returns: Object, nurbs curve
- // p1: Integer, space
-
- R3TMNUM_CREATENURBSFROMTRIM = 215003;
-
- function mR3TMNUM_CREATENURBSFROMTRIM(p1) {
- return R3ToJS( DoA2(this.r3obj, 215003, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Create a trim curve for a given nurbs curve and surface.
- // Returns: Object, trim curve
- // p1: Integer, space
-
- R3TMNUCM_CREATETRIMFROMNURBS = 215004;
-
- function mR3TMNUCM_CREATETRIMFROMNURBS(p1) {
- return R3ToJS( DoA2(this.r3obj, 215004, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0));
- }
-
-
-
-
- R3TMNUA_Cut = 215501;
- function SetR3TMNUA_Cut(value) {
- R3Set(this.r3obj, R3TMNUA_Cut, value, R3TID_INTEGER, 0);
- }
-
- function GetR3TMNUA_Cut() {
- return R3Get(this.r3obj, R3TMNUA_Cut, R3TID_INTEGER, 0);
- }
-
- R3TMNUA_Invert = 215502;
- function SetR3TMNUA_Invert(value) {
- R3Set(this.r3obj, R3TMNUA_Invert, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3TMNUA_Invert() {
- return R3Get(this.r3obj, R3TMNUA_Invert, R3TID_BOOLEAN, 0);
- }
-
- R3TMNUA_WrapU = 215503;
- function SetR3TMNUA_WrapU(value) {
- R3Set(this.r3obj, R3TMNUA_WrapU, value, R3TID_INTEGER, 0);
- }
-
- function GetR3TMNUA_WrapU() {
- return R3Get(this.r3obj, R3TMNUA_WrapU, R3TID_INTEGER, 0);
- }
-
- R3TMNUA_WrapV = 215504;
- function SetR3TMNUA_WrapV(value) {
- R3Set(this.r3obj, R3TMNUA_WrapV, value, R3TID_INTEGER, 0);
- }
-
- function GetR3TMNUA_WrapV() {
- return R3Get(this.r3obj, R3TMNUA_WrapV, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Trimnurbs () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_TRIMNURBS, arguments);
- }
- // Methods
- this.EVALUATEABS=mR3TMNUM_EVALUATEABS;
- this.TRIMMEDPARENT=mR3TMNUM_TRIMMEDPARENT;
- this.CREATENURBSFROMTRIM=mR3TMNUM_CREATENURBSFROMTRIM;
- this.CREATETRIMFROMNURBS=mR3TMNUCM_CREATETRIMFROMNURBS;
-
- // Attributes
- this.GetCut=GetR3TMNUA_Cut;
- this.SetCut=SetR3TMNUA_Cut;
- this.GetInvert=GetR3TMNUA_Invert;
- this.SetInvert=SetR3TMNUA_Invert;
- this.GetWrapU=GetR3TMNUA_WrapU;
- this.SetWrapU=SetR3TMNUA_WrapU;
- this.GetWrapV=GetR3TMNUA_WrapV;
- this.SetWrapV=SetR3TMNUA_WrapV;
- }
-
- r3Trimnurbs.prototype=new r3Nurbs;
- // r3trmnrb.h_H